I’ve seen tons of posts about okay google not working on android. I tried all the suggestions and just could not get it to work at all. It always worked before I upgraded from 4.4 to 5.0.
If you are having a similar problem where you cannot even train your voice for the okay google recognition do this.
Go to settings and accessibility and turn off whatever apps have accessibility turned on. For me it was my line launcher permissions to open the notification drawer. Disabling the accessibility service for my line launcher fixed the problem. As soon as I turn it back on, okay google breaks.
It sucks because I have to choose between using the launchers functions that I use all the time or okay google. ..
So if your having problems training your voice to the okay google in the Google settings then go to accessibility and disable the services… I hope they fix this soon.